package com.xiaotu.adapter.classadapter;

/**
 * @author 张晓
 * @create 2020-06-20 16:19
 */
public class Client {
    public static void main(String[] args) {
        System.out.println(" =========类适配器模式======== ");
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter());
    }
}
